<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>formenctype 属性</title>
</head>
<body>

<h1>input formenctype 属性</h1>

<p>formenctype 属性规定提交表单数据时应如何编码。</p>

<form action="/demo/html/demo_post_enctype.asp" method="post">
  <label for="fname">First name:</label>
  <input type="text" id="fname" name="fname"><br><br>
  <input type="submit" value="提交">
  <input type="submit" formenctype="multipart/form-data" value="以 Multipart/form-data 提交">
</form>

</body>
</html>